﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using DataAccess;
namespace Business
{
    public static class PlayerTypeBUS
    {
        public static List<PlayerTypeDTO> GetPlayerTypeList()
        {
            return PlayerTypeDAO.GetPlayerTypeList();
        }

        public static bool AddNewPlayerType(PlayerTypeDTO dtoPlayerType)
        {
            return PlayerTypeDAO.AddNewPlayerType(dtoPlayerType);
        }

        public static bool UpdatePlayerType(PlayerTypeDTO dtoPlayerType)
        {
            return PlayerTypeDAO.UpdatePlayerType(dtoPlayerType);
        }

        public static bool DeleteAPlayerType(PlayerTypeDTO dtoPlayerType)
        {
            return PlayerTypeDAO.DeleteAPlayerType(dtoPlayerType);
        }

        public static bool DeleteAllPlayerType()
        {
            return PlayerTypeDAO.DeleteAllPlayerType();
        }
    }
}
